package com.mspbots.sync.model;

import com.fasterxml.jackson.databind.JsonNode;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * com.mspbots.sync.scheduled.model.TimeEntries
 *
 * <p>connect wise time entries entry</p>
 *
 * @author Alex bob(https://github.com/vnobo)
 * @date Created by 2019/7/16
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TimeEntry implements Serializable {

    private Long id;
    private Integer tenantId;
    private Long cwUid;
    private Long cwTid;
    private LocalDateTime beginDate;
    private LocalDateTime endDate;
    private LocalDateTime enteredDate;
    private LocalDateTime updatedTime;
    private Double actualHours;
    private String description;
    private JsonNode extend;

}
